/*
 * Copyright 2014 Semidata. All rights reserved.
 */
package com.semidata.trp.decision.filter;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.semidata.trp.decision.business.Material;
import com.semidata.trp.decision.business.Strategy;

/**
 * @author shewei@semidata.com, She Wei
 * 
 */
public class FilterResult {

	private Strategy strategy;
	private double price;
	private Map<Material, Integer> materials;

	public FilterResult(Strategy strategy) {
		this.strategy = strategy;
		this.materials = new HashMap<>();
		this.price = strategy.getPrice();
	}

	public Strategy getStrategy() {
		return strategy;
	}

	public void setStrategy(Strategy strategy) {
		this.strategy = strategy;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public Map<Material, Integer> getMaterials() {
		return materials;
	}

	public void setMaterials(Map<Material, Integer> materials) {
		this.materials = materials;
	}

}
